import type { App } from 'vue'
import { setupRouter } from './router'
import { setupContextMenu } from './context-menu'
import { setupStore } from './store'

export function setupPlugins(app: App) {
  app
  // 安装路由
  .use(setupRouter)
  // 安装右键菜单
  .use(setupContextMenu)
  // 安装pinia
  .use(setupStore)
}
